export default {
  data() {
    return {
      loading: false,
      /* 查询条件-请不要在queryParam中声明非字符串值的属性 */
      queryParam: {
        pageNo: 1,
        pageSize: 10
      },
      /* 数据源 */
      dataSource: [],
      /* 分页参数 */
      ipagination: {
        current: 1,
        pageSize: 10,
        pageSizeOptions: ['10', '20', '30'],
        showTotal: (total, range) => {
          return range[0] + '-' + range[1] + ' 共' + total + '条';
        },
        showQuickJumper: true,
        showSizeChanger: true,
        total: 0
      }
    };
  }
};
